<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\Models\Treaty;

class TreatyController extends BaseController
{
    /**
     * 注册协议
     * @return \Illuminate\Http\JsonResponse
     */
    public function index()
    {
        $clause = (new Treaty())->getInfo();
        $data['content'] = $clause;
        return $this->ResultJson(1, '获取成功!', $data);
    }
}
